<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>教师工具平台</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        :root {
            --primary: #2563eb;
            --primary-dark: #1d4ed8;
            --secondary: #10B981;
            --tertiary: #F59E0B;
            --light: #F9FAFB;
            --dark: #1F2937;
            --gray: #6B7280;
            --light-gray: #E5E7EB;
            --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        }

        body {
            background: linear-gradient(135deg, #f0f7ff 0%, #f8fafc 100%);
            color: var(--dark);
            min-height: 100vh;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* 导航栏样式 */
        header {
            background: white;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            position: sticky;
            top: 0;
            z-index: 100;
            padding: 15px 0;
        }

        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary);
        }

        .logo i {
            font-size: 1.8rem;
        }

        .user-profile {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            /* background: linear-gradient(45deg, var(--primary), var(--secondary)); */
            background: linear-gradient(45deg, #0ea5e9, #2563eb);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
            font-size: 1rem;
        }

        /* 主内容区域 */
        .hero {
            text-align: center;
            padding: 60px 0 40px;
        }

        .hero h1 {
            font-size: 2.8rem;
            line-height: 1.2;
            margin-bottom: 20px;
            color: var(--dark);
        }

        .hero h1 span {
            color: var(--primary);
            position: relative;
        }

        .hero p {
            font-size: 1.2rem;
            color: var(--gray);
            max-width: 600px;
            margin: 0 auto 30px;
            line-height: 1.6;
        }

        /* 工具卡片区域 */
        .section-title {
            text-align: center;
            margin: 40px 0 30px;
        }

        .section-title h2 {
            font-size: 2rem;
            color: var(--dark);
            margin-bottom: 10px;
        }

        .section-title p {
            font-size: 1.1rem;
            color: var(--gray);
        }

        .tools-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 25px;
            margin-bottom: 60px;
        }

        .tool-card {
            background: white;
            border-radius: 16px;
            padding: 30px;
            box-shadow: var(--card-shadow);
            transition: all 0.3s ease;
            cursor: pointer;
            border: 1px solid var(--light-gray);
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            height: 100%;
        }

        .tool-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        }

        .tool-icon {
            width: 70px;
            height: 70px;
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
            font-size: 1.8rem;
            color: white;
        }

        .tool-card:nth-child(1) .tool-icon {
            background: linear-gradient(45deg, var(--primary), #818CF8);
        }

        .tool-card:nth-child(2) .tool-icon {
            background: linear-gradient(45deg, var(--secondary), #34D399);
        }

        .tool-card:nth-child(3) .tool-icon {
            background: linear-gradient(45deg, var(--tertiary), #FBBF24);
        }

        /* 添加这两个新规则 */
        .tool-card:nth-child(4) .tool-icon {
            background: linear-gradient(45deg, #8B5CF6, #A78BFA);
        }

        .tool-card:nth-child(5) .tool-icon {
            background: linear-gradient(45deg, #EC4899, #F472B6);
        }

        .tool-card h3 {
            font-size: 1.5rem;
            margin-bottom: 15px;
            color: var(--dark);
        }

        .tool-card p {
            color: var(--gray);
            line-height: 1.6;
            margin-bottom: 20px;
            flex-grow: 1;
        }

        .tool-link {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: var(--light);
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
            padding: 10px 20px;
            border-radius: 8px;
            gap: 8px;
            transition: all 0.3s ease;
            border: 1px solid var(--light-gray);
            width: 100%;
            text-align: center;
        }

        .tool-link:hover {
            background: var(--primary);
            color: white;
            gap: 12px;
        }

        /* 特色功能展示 */
        .features {
            background: white;
            border-radius: 16px;
            padding: 40px;
            margin: 40px 0;
            box-shadow: var(--card-shadow);
        }

        .features h3 {
            font-size: 1.6rem;
            margin-bottom: 25px;
            text-align: center;
            color: var(--dark);
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 25px;
        }

        .feature-card {
            background: var(--light);
            border-radius: 12px;
            padding: 25px;
            text-align: center;
        }

        .feature-card i {
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 15px;
        }

        .feature-card h4 {
            font-size: 1.2rem;
            margin-bottom: 10px;
            color: var(--dark);
        }

        .feature-card p {
            color: var(--gray);
            font-size: 0.95rem;
        }

        /* 页脚样式 */
        footer {
            background: var(--dark);
            color: white;
            padding: 40px 0 20px;
            margin-top: 40px;
        }

        .footer-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            margin-bottom: 30px;
        }

        .footer-logo {
            font-size: 1.8rem;
            margin-bottom: 15px;
            color: white;
        }

        .footer-links {
            display: flex;
            gap: 25px;
            margin: 20px 0;
        }

        .footer-links a {
            color: #cbd5e1;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .footer-links a:hover {
            color: white;
        }

        .copyright {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid #374151;
            color: #9CA3AF;
            font-size: 0.9rem;
        }

        /* 响应式设计 */
        @media (max-width: 768px) {
            .hero h1 {
                font-size: 2.2rem;
            }

            .hero p {
                font-size: 1.1rem;
            }

            .section-title h2 {
                font-size: 1.8rem;
            }

            .tools-grid {
                grid-template-columns: 1fr;
            }

            .features {
                padding: 30px 20px;
            }
        }

        @media (max-width: 480px) {
            .hero {
                padding: 40px 0 20px;
            }

            .hero h1 {
                font-size: 1.8rem;
            }

            .tool-card {
                padding: 25px;
            }

            .footer-links {
                flex-direction: column;
                gap: 15px;
            }
        }
    </style>
</head>

<body>
    <!-- 导航栏 -->
    <header>
        <div class="container">
            <div class="navbar">
                <div class="logo">
                    <i class="fas fa-chalkboard-teacher"></i>
                    <span>教师工具</span>
                </div>

                <div class="user-profile">
                    <div class="avatar">张</div>
                    <!-- <span>张老师</span> -->
                </div>
            </div>
        </div>
    </header>

    <!-- 主内容区域 -->
    <main class="container">
        <!-- 英雄区域 -->
        <!-- <section class="hero">
            <h1>简洁高效的<span>教师工具平台</span></h1>
            <p>专为小型教学团队设计的工具平台，提供作业统计、成绩分析和积分计算三大核心功能，让教学工作更轻松。</p>
            <p>专为您的教学需求设计的三大工具</p>
        </section> -->

        <!-- 工具卡片区域 -->
        <section style="margin-top: 20px;">
            <!-- <div class="section-title">
                <h2>核心功能</h2>
                <p>专为您的教学需求设计的三大工具</p>
            </div> -->

            <div class="tools-grid">
                <div class="tool-card">
                    <div class="tool-icon">
                        <i class="fas fa-user-graduate"></i>
                    </div>
                    <h3>学生管理</h3>
                    <p>管理学生信息、班级分配、出勤记录和联系方式，轻松掌握学生动态。</p>
                    <a href="./student.html" class="tool-link">进入工具 <i class="fas fa-arrow-right"></i></a>
                </div>
                <!-- 作业统计 -->
                <div class="tool-card">
                    <div class="tool-icon">
                        <i class="fas fa-tasks"></i>
                    </div>
                    <h3>作业统计</h3>
                    <p>跟踪学生作业完成情况，统计提交率、平均完成时间等关键指标，快速识别需要帮助的学生。</p>
                    <a href="zuoye.html" class="tool-link">进入作业统计 <i class="fas fa-arrow-right"></i></a>
                </div>

                <!-- 成绩分析 -->
                <div class="tool-card">
                    <div class="tool-icon">
                        <i class="fas fa-chart-line"></i>
                    </div>
                    <h3>成绩分析</h3>
                    <p>可视化学生成绩分布，分析各知识点掌握情况，生成个性化学习报告，助力教学决策。</p>
                    <a href="score.html" class="tool-link">进入成绩分析 <i class="fas fa-arrow-right"></i></a>
                </div>

                <!-- 积分计算 -->
                <div class="tool-card">
                    <div class="tool-icon">
                        <i class="fas fa-calculator"></i>
                    </div>
                    <h3>积分计算</h3>
                    <p>自定义积分规则，自动计算学生综合积分，支持多种权重设置，轻松管理学生表现。</p>
                    <a href="./jifen.html" class="tool-link">进入积分计算 <i class="fas fa-arrow-right"></i></a>
                </div>
                <!-- 座位排序 -->
                <div class="tool-card">
                    <div class="tool-icon">
                        <i class="fas fa-user-friends"></i>
                    </div>
                    <h3>座位排序</h3>
                    <p>自定义快速排座位。</p>
                    <a href="./zuowei.html" class="tool-link">进入座位排序 <i class="fas fa-arrow-right"></i></a>
                </div>
            </div>
        </section>

        <!-- 特色功能展示 -->
        <!-- <section class="features">
            <h3>平台特色</h3>
            <div class="features-grid">
                <div class="feature-card">
                    <i class="fas fa-user-friends"></i>
                    <h4>简单易用</h4>
                    <p>界面直观，无需复杂培训即可上手操作，节省您的宝贵时间</p>
                </div>

                <div class="feature-card">
                    <i class="fas fa-lock"></i>
                    <h4>数据安全</h4>
                    <p>所有数据本地存储，无需担心隐私泄露，完全掌握在自己手中</p>
                </div>

                <div class="feature-card">
                    <i class="fas fa-mobile-alt"></i>
                    <h4>响应式设计</h4>
                    <p>在电脑、平板或手机上都能完美使用，随时随地管理工作</p>
                </div>

                <div class="feature-card">
                    <i class="fas fa-sync-alt"></i>
                    <h4>实时更新</h4>
                    <p>数据自动同步，无需手动刷新，随时查看最新统计结果</p>
                </div>
            </div>
        </section> -->
    </main>

    <!-- 页脚 -->
    <footer>
        <div class="container">
            <div class="copyright">
                <p>&copy; 2025 教师工具 | 让教学工作更简单</p>
            </div>
        </div>
    </footer>

    <script>
        // 添加简单的交互效果
        document.addEventListener('DOMContentLoaded', function () {
            // 卡片悬停效果
            const cards = document.querySelectorAll('.tool-card');
            cards.forEach(card => {
                card.addEventListener('mouseenter', function () {
                    this.style.transform = 'translateY(-5px)';
                });

                card.addEventListener('mouseleave', function () {
                    this.style.transform = 'translateY(0)';
                });
            });

            // 工具链接效果
            const toolLinks = document.querySelectorAll('.tool-link');
            toolLinks.forEach(link => {
                link.addEventListener('mouseenter', function () {
                    this.style.gap = '12px';
                });

                link.addEventListener('mouseleave', function () {
                    this.style.gap = '8px';
                });
            });
        });
    </script>
</body>

</html>